home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20021006-20030409
/
000390_pju@globalnet.co.uk_Wed Mar 26 09:49:19 EST 2003.msg
< prev
next >
Wrap
Text File
|
2003-04-08
|
3KB
|
72 lines
Article: 14190 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.brightview.com!news.brightview.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 25 Mar 2003 18:36:06 -0600
From: "Pete" <pju@globalnet.co.uk>
Newsgroups: comp.protocols.kermit.misc
References: <fdmdne9GR6e1OeKjXTWc3Q@brightview.com> <kzNfa.12589$pi.2213954@twister.nyc.rr.com>
Subject: Re: set host timeout?
Date: Wed, 26 Mar 2003 00:39:16 -0000
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <kW2dnYVn77hraB2jXTWcog@brightview.com>
Lines: 48
NNTP-Posting-Host: 80.189.20.15
X-Trace: sv3-7zmsrSQ96tV49+XgZFr/GZLlVMFgKQWNY0yy00iiuPItqUi0AoIybSIglbPoZaCKs7mmePRq2gQsj7F!fE21A1neEMNfgUAFxWCal2HguV8/m7oxvg/ZG5+oglIjzyEYGiSXRq9P7lv2Sckhckm8XsDK8HfZ!QiGX2A==
X-Complaints-To: abuse@brightview.com
X-DMCA-Complaints-To: abuse@brightview.com
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14190
Thanks for your very quick response
Pete
PS .... SET HOST * 2000
can acheive a timeout somewhat clumsily by creating a second process before
issuing the above. The second process runs a Kermit script that sleeps for
'n'
seconds, sets an abort-flag, then does SET HOST 1.2.3.4 2000 (ie connects
to the other process on the same machine). The above process will stop
waiting & can check existance of the abort-flag.
YUK!
"Jeffrey Altman" <jaltman@columbia.edu> wrote in message
news:kzNfa.12589$pi.2213954@twister.nyc.rr.com...
> Pete wrote:
> > Hi
> >
> >
> > I'm experimenting with kermit over a TCP/IP connection:-
> >
> > SET HOST * 2000
> >
> > will sit and listen for a connection.
> > Great. Works fine. I have a couple of questions though.
> >
> > 1) Can I set a timeout so if there's no connection made after 'n'
seconds
> > it times-out?
>
> No
>
>
> > 2) SET HOST 1.2.3.4 2000 will connect to the above fine. If I use
> > CLOSE CONNECTION (on the SET HOST * 2000 machine), the
> > connection appears to close, however SET HOST 1.2.3.4 2000 will
> > not give me an connect-error but thinks it has made a connection. Is
> > there something like CLOSE CONNECTION that will tell the incoming
> > machine it's now a connect error?
>
> You must try to read some data in order to the the connection close error.
>
>